<template>
    <el-dialog
            append-to-body
            :visible.sync="visible"
            title="预离办理"
            width="350px"
            :close-on-click-modal="false"
            @submit.native.prevent
    >
        <el-form :ref="editFormRef" :model="formData" label-width="80px" :rules="rules" @submit.native.prevent>
            <el-form-item label="预离时间" prop="ylTime">
                <el-date-picker v-model="formData.ylTime" style="width: 100%;" format="yyyy-MM-dd" value-format="yyyy-MM-dd" placeholder="请选择预离时间"/>
            </el-form-item>
        </el-form>

        <template slot="footer">
            <el-button type="success" class="button-wide" @click="submitHandler">确定</el-button>
            <el-button type="info" class="button-wide" @click="dialogCloseHandler">取消</el-button>
        </template>
    </el-dialog>
</template>

<script>
    export default JBoot({
        props: {},

        data() {
            return {
                moduleName: 'ftgl',
                submitMethod: 'handleYl',
                rules: {
                    ylTime: [{required: true, message: '请选择预离时间'}]
                }
            };
        },

        methods: {
            isLoadDataInfo (){ return false; }
        }
    }).form().build();
</script>

<style lang="scss">

</style>
